package com.talkweb.securitycamera.utils.eventlib.pool;

/**
 * @version 1.0.1
 * @description:对象池接口
 * @program: Gallery
 * @Author xiaozhijun
 * @Date 2020/12/22 17:11
 */
public interface Pool<T> {

    /**
     * 获取对象
     */
    T acquire();

    /**
     * 释放对象
     */
    boolean release(T instance);
}
